GET

/v1/models/openrouter/openrouter-meta-llama-llama-3-1-8b-instruct

provider openrouterstatus activefirst seen Jul 23, 2024last seen 13m ago
rawIdmeta-llama/llama-3.1-8b-instruct
displayNameMeta: Llama 3.1 8B Instruct
idopenrouter-meta-llama-llama-3-1-8b-instruct
activitychat
schemaEndpointIdchat/completions
releasedAt1721692800 — Jul 23, 2024
firstSeenAt1721692800 — Jul 23, 2024
lastSeenAt1795837534 — 13m ago
pricing
$0.05 / 1M input · $0.08 / 1M output → open calculator
input_tokens (usage) · output_tokens (usage) · cache_read_tokens (usage)
contextWindow131072
maxOutput117964
modalities{"input":["text"],"output":["text"]}
capabilities{"frequency_penalty":true,"logit_bias":true,"logprobs":true,"max_tokens":true,"min_p":true,"presence_penalty":true,"repetition_penalty":true,"response_format":true,"seed":true,"stop":true,"structured_outputs":true,"temperature":true,"tool_choice":true,"tools":true,"top_k":true,"top_logprobs":true,"top_p":true,"reasoning_effort":true}
knowledgeCutoff · openWeights · weightsUrl · requestMap · providerMetadatanot published by this provider’s list endpoint
endpointactivity
chat/completionschat

endpoints matching this model — the provider has more, see /v1/schemas/openrouter

Sources

fieldrecorded source
contextWindowSource unknown — no source URL recorded.

listing

maxOutputSource unknown — no source URL recorded.

listing

modalitiesSource unknown — no source URL recorded.

listing

pricingSource unknown — no source URL recorded.

listing

capabilities.frequency_penaltySource unknown — no source URL recorded.

listing

capabilities.logit_biasSource unknown — no source URL recorded.

listing

capabilities.logprobsSource unknown — no source URL recorded.

listing

capabilities.max_tokensSource unknown — no source URL recorded.

listing

capabilities.min_pSource unknown — no source URL recorded.

listing

capabilities.presence_penaltySource unknown — no source URL recorded.

listing

capabilities.repetition_penaltySource unknown — no source URL recorded.

listing

capabilities.response_formatSource unknown — no source URL recorded.

listing

capabilities.seedSource unknown — no source URL recorded.

listing

capabilities.stopSource unknown — no source URL recorded.

listing

capabilities.structured_outputsSource unknown — no source URL recorded.

listing

capabilities.temperatureSource unknown — no source URL recorded.

listing

capabilities.tool_choiceSource unknown — no source URL recorded.

listing

capabilities.toolsSource unknown — no source URL recorded.

listing

capabilities.top_kSource unknown — no source URL recorded.

listing

capabilities.top_logprobsSource unknown — no source URL recorded.

listing

capabilities.top_pSource unknown — no source URL recorded.

listing

capabilities.reasoning_efforthttps://openrouter.ai/openapi.json

upstream-spec

/properties/reasoning/properties/effort

Source trace
2a07cf6e5ca5a57ca3205932b3344cfea81e54b437e71fac3e9bebac15286231
{
  "endpointId": "chat/completions",
  "fetchedAt": 1795325405
}
activitySource unknown — no source URL recorded.
reasoningSource unknown — no source URL recorded.
requestMapSource unknown — no source URL recorded.
schemaEndpointIdSource unknown — no source URL recorded.

Use it

shell
$ curl https://modelschemas.com/v1/schemas/openrouter/chat/chat/completions # request schema
$ curl -X POST https://modelschemas.com/v1/validate -d '{"provider":"openrouter","endpointId":"chat/completions","payload":{…}}'
$ curl -X POST https://modelschemas.com/v1/estimate -d '{"provider":"openrouter","model":"meta-llama/llama-3.1-8b-instruct","usage":{"input_tokens":1200,"output_tokens":400}}'