API do modelo motif-technologies/motif-3 na OpenRouter, $0.3 / $1.2 por milhão de tokens, contexto 262.144 tokens. Exemplos em curl, Python e JavaScript, teste ao vivo.
Motif 3 is a Mixture-of-Experts language model from Motif Technologies, with 314B total and 13.2B active parameters. It is a general-purpose multilingual model for English and Korean, particularly strong at...
- Tipo
- Modelo
- Provedor
- OpenRouter
- ID do modelo
motif-technologies/motif-3- Preço
- Pago
- Preço entrada / saída
- $0.3 / $1.2 por milhão de tokens
- Acesso sem chave
- Não
- Variável da chave
OPENROUTER_API_KEY- URL base (compatível com OpenAI)
https://openrouter.ai/api/v1- Contexto
- 262.144 tokens
- Entradas
- Texto
- Recursos
- Raciocínio, Saída JSON, Chamada de ferramentas
- Avaliação dos desenvolvedores
- Ainda sem avaliação
- Documentação
- https://openrouter.ai/motif-technologies/motif-3
Exemplos de código
cURL
curl https://openrouter.ai/api/v1/chat/completions \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $OPENROUTER_API_KEY" \
-d '{"model":"motif-technologies/motif-3","messages":[{"role":"user","content":"Olá, apresente-se em uma frase."}]}'Python
# pip install openai
import os
from openai import OpenAI
client = OpenAI(base_url="https://openrouter.ai/api/v1", api_key=os.environ["OPENROUTER_API_KEY"])
r = client.chat.completions.create(
model="motif-technologies/motif-3",
messages=[{"role": "user", "content": "Olá, apresente-se em uma frase."}],
)
print(r.choices[0].message.content)JavaScript
// npm install openai
import OpenAI from 'openai'
const client = new OpenAI({ baseURL: 'https://openrouter.ai/api/v1', apiKey: process.env.OPENROUTER_API_KEY })
const r = await client.chat.completions.create({
model: 'motif-technologies/motif-3',
messages: [{ role: 'user', content: 'Olá, apresente-se em uma frase.' }],
})
console.log(r.choices[0].message.content)
Gerar o código de integração →
Buscas populares
Perguntas frequentes
A API do Motif Technologies: Motif 3 é gratuita?
Não: o Motif Technologies: Motif 3 é uma API paga ($0.3 / $1.2 por milhão de tokens).
Como chamar o Motif Technologies: Motif 3 no meu código?
O Motif Technologies: Motif 3 oferece uma API compatível com OpenAI em https://openrouter.ai/api/v1: use qualquer SDK da OpenAI (Python, JavaScript…) com essa URL base. Identificador do modelo: motif-technologies/motif-3. Há código pronto (streaming, JSON, novas tentativas) na caixa de ferramentas do desenvolvedor.
Qual é a janela de contexto do Motif Technologies: Motif 3?
O Motif Technologies: Motif 3 aceita até 262.144 tokens de contexto (mensagem e histórico).