cURL
curl --request GET \ --url https://api.matterai.so/v1/models/:model_id
{ "401": {}, "404": {}, "429": {}, "500": {}, "model_id": "<string>", "id": "<string>", "name": "<string>", "description": "<string>", "object": "<string>", "input_modalities": [ {} ], "context_length": 123, "max_output_length": 123, "output_modalities": [ {} ], "supported_sampling_parameters": [ {} ], "supported_features": [ {} ], "openrouter": { "slug": "<string>" }, "datacenters": [ { "country_code": "<string>" } ], "created": 123, "owned_by": "<string>", "pricing": { "prompt": "<string>", "completion": "<string>", "image": "<string>", "request": "<string>", "input_cache_reads": "<string>", "input_cache_writes": "<string>" } }
Get details for a specific model from the MatterAI API
Authorization: Bearer MATTERAI_API_KEY
"model"
Show OpenRouter Object
Show Datacenter Object
Show Pricing Object
curl --location 'https://api.matterai.so/v1/models/axon-code' \ --header 'Authorization: Bearer MATTERAI_API_KEY'
{ "id": "axon-code", "name": "Axon Code", "description": "Axon Code is super intelligent LLM model for coding tasks", "object": "model", "input_modalities": [ "text" ], "context_length": 256000, "max_output_length": 32768, "output_modalities": [ "text" ], "supported_sampling_parameters": [ "temperature", "top_p", "top_k", "repetition_penalty", "frequency_penalty", "presence_penalty", "seed", "stop" ], "supported_features": [ "tools", "structured_outputs", "web_search" ], "openrouter": { "slug": "matterai/axon" }, "datacenters": [ { "country_code": "US" } ], "created": 1750426201, "owned_by": "matterai", "pricing": { "prompt": "0.000001", "completion": "0.000004", "image": "0", "request": "0", "input_cache_reads": "0", "input_cache_writes": "0" } }
{ "error": { "message": "Model not found", "type": "invalid_request_error", "code": "model_not_found" } }