Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions fastllm/acomplete.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
"codex": ('openai', 'https://chatgpt.com/backend-api/codex', 'CODEX_AUTH_TOKEN', _codex_json),
"moonshot": ('openai_chat', "https://api.moonshot.ai/v1", "MOONSHOT_API_KEY"),
"deepseek": ('openai_chat', "https://api.deepseek.com/v1", "DEEPSEEK_API_KEY"),
"inception": ('openai_chat', "https://api.inceptionlabs.ai/v1", "INCEPTION_API_KEY"),
"mimo": ('anthropic', "https://api.xiaomimimo.com/anthropic", "MIMO_API_KEY"),
"openrouter": ('openai_chat', "https://openrouter.ai/api/v1", "OPENROUTER_API_KEY"),
"together": ('openai_chat', "https://api.together.xyz/v1", "TOGETHER_API_KEY"),
Expand Down
7 changes: 7 additions & 0 deletions fastllm/types.py
Original file line number Diff line number Diff line change
Expand Up @@ -234,6 +234,13 @@ def get_model_info(mn, vendor_name=None):
register_model_info('glm-5.3-flash', vendor_name='zai', base='glm-5.3-flash', reasoning_effort_levels=['low', 'high', 'max'])
register_model_info('accounts/fireworks/models/glm-5p3-flash', vendor_name='fireworks_ai', base='glm-5.3-flash', base_vendor_name='zai')

# %% ../nbs/00_types.ipynb #0a2d3bff
register_model_info(
'mercury-2.5', vendor_name='inception', **modern_llm,
max_input_tokens=260_000, max_output_tokens=65_536,
input_cost_per_token=0.04e-6, cache_read_input_token_cost=0.004e-6,
output_cost_per_token=0.15e-6)

# %% ../nbs/00_types.ipynb #b6279e07
effort_codes = dict(n='none', l='low', m='medium', h='high', x='xhigh')

Expand Down
26 changes: 26 additions & 0 deletions nbs/00_types.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -771,6 +771,32 @@
"register_model_info('accounts/fireworks/models/glm-5p3-flash', vendor_name='fireworks_ai', base='glm-5.3-flash', base_vendor_name='zai')"
]
},
{
"cell_type": "markdown",
"id": "10186df9",
"metadata": {},
"source": [
"[Mercury 2.5](https://docs.inceptionlabs.ai/get-started/models) is a `Diffusion Model` created by `Inception Labs`. The prices below are Inception's `80% off` promotion."
]
},
{
"cell_type": "code",
"execution_count": null,
"id": "0a2d3bff",
"metadata": {
"nbdev": {
"export": "true"
}
},
"outputs": [],
"source": [
"register_model_info(\n",
" 'mercury-2.5', vendor_name='inception', **modern_llm,\n",
" max_input_tokens=260_000, max_output_tokens=65_536,\n",
" input_cost_per_token=0.04e-6, cache_read_input_token_cost=0.004e-6,\n",
" output_cost_per_token=0.15e-6)"
]
},
{
"cell_type": "markdown",
"id": "296a1f82",
Expand Down
Loading