mirror of
https://github.com/anomalyco/models.dev.git
synced 2026-12-03 04:10:55 +08:00
* feat(opencode): add Gemini, Mistral, Qwen3, BGE-M3, Cohere and Voyage embedding models * fix(opencode): serve the Gemini embedding models through OpenRouter
17 lines
584 B
TOML
17 lines
584 B
TOML
# Endpoint (OpenAI Embeddings): POST https://opencode.ai/inference/openai/v1/embeddings, served through Zen's
|
|
# mistral-embeddings endpoint by Mistral's mistral-embed.
|
|
# Pricing: what Zen bills for this model, the upstream's price (https://mistral.ai/pricing#api-pricing).
|
|
schema = 2
|
|
v2_only = true
|
|
base_model = "mistral/mistral-embed"
|
|
|
|
[api.embeddings]
|
|
base_url = "https://opencode.ai/inference/openai/v1"
|
|
sdk = { aisdk = "@ai-sdk/openai-compatible", opencodeai = "@opencode/ai/providers/openai-compatible/embeddings" }
|
|
|
|
[cost.text.input]
|
|
price = 0.1
|
|
|
|
[cost.text.output]
|
|
price = 0
|