/v1/modelsModels
Returns a list of all available models. Use the model IDs in requests to the Messages endpoint.
Test the models endpoint:
curl https://api.mr-coder.io/v1/models \
-H "x-api-key: sk-mr-auth-your-key-here"Response Format
{
"data": [
{
"id": "anthropic:claude-opus-4-7",
"type": "model",
"created": "2025-01-01T00:00:00Z"
},
...
]
}Model Categories
Model IDs use a provider:model format. A model name sent without a prefix is treated as Anthropic's, so claude-opus-4-8 and anthropic:claude-opus-4-8 are the same model.
Every non-Anthropic model must carry its prefix— write openai:gpt-6 and zhipu:glm-5-3, never the model name on its own. Dropping the prefix makes the name read as a request for an Anthropic model that does not exist. A model is only valid under the provider that serves it.
Use an ID exactly as listed below. Names that look plausible but are not listed — for example claude-opus-4-5 (the real ID is claude-opus-4-5-20250801) — are rejected with 400 Unknown model. Call GET /v1/models to read the live list rather than hard-coding one.
Claude (Anthropic)
| Model ID | Context | Tier |
|---|---|---|
| anthropic:claude-fable-5-1 | 1M | Premium |
| anthropic:claude-fable-5 | 1M | Premium |
| anthropic:claude-opus-5-5 | 1M | Premium |
| anthropic:claude-opus-5 | 1M | Premium |
| anthropic:claude-opus-4-8 | 200K | Premium |
| anthropic:claude-opus-4-7 | 200K | Premium |
| anthropic:claude-opus-4-6 | 200K | Premium |
| anthropic:claude-sonnet-5-5 | 1M | Standard |
| anthropic:claude-sonnet-5 | 1M | Standard |
| anthropic:claude-sonnet-4-6 | 200K | Standard |
| anthropic:claude-haiku-5-5 | 1M | Fast |
OpenAI
| Model ID | Context | Tier |
|---|---|---|
| openai:gpt-6 | 200K | Premium |
| openai:gpt-6-sol | 200K | Premium |
| openai:gpt-6-1-sol | 200K | Premium |
| openai:gpt-6-astra | 200K | Premium |
Moonshot AI
| Model ID | Context | Tier |
|---|---|---|
| moonshot:kimi-k3 | 1M | Premium |
High-Flyer
| Model ID | Context | Tier |
|---|---|---|
| high-flyer:deepseek-v4-pro | 131K | Premium |
Zhipu AI
| Model ID | Context | Tier |
|---|---|---|
| zhipu:glm-5-3 | 1M | Standard |
| zhipu:glm-5-3-flash | 1M | Fast |
Alibaba
| Model ID | Context | Tier |
|---|---|---|
| alibaba:qwen-3-8 | 131K | Standard |
| alibaba:qwen-3-8-flash | 131K | Fast |
Quantel
| Model ID | Context | Tier |
|---|---|---|
| quantel:quantum-lite-1 | 131K | Fast |
Code Examples
curl https://api.mr-coder.io/v1/models \
-H "x-api-key: sk-mr-auth-xxxxxxxx"const response = await fetch(
'https://api.mr-coder.io/v1/models',
{
headers: {
'x-api-key': 'sk-mr-auth-xxxxxxxx',
},
}
);
const { data } = await response.json();
data.forEach((model: { id: string; type: string; created: string }) => {
console.log(`Model: ${model.id}`);
});import requests
response = requests.get(
'https://api.mr-coder.io/v1/models',
headers={
'x-api-key': 'sk-mr-auth-xxxxxxxx',
}
)
data = response.json()
for model in data['data']:
print(f"Model: {model['id']}")