Toppy M 7B
undi95/toppy-m-7b
Created Nov 10, 20234,096 context
$0.80/M input tokens$1.20/M output tokens
Providers for Toppy M 7B
OpenRouter routes requests to the best providers that are able to handle your prompt size and parameters, with fallbacks to maximize uptime.
1.
OpenCharacter
Open-source recreation of the old c.ai site
628Ktokens
2.
Chub AI
GenAI for everyone
324Ktokens
3.
Caveduck
AI character chat
241Ktokens
4.
SillyTavern
LLM frontend for power users
200Ktokens
5.
liteLLM
Open-source library to simplify LLM calls
109Ktokens
6.
OpenRouter: Chatroom
Chat with multiple LLMs at once
65Ktokens
7.
t.me
new
57Ktokens
8.
novelcrafter
Your personal novel writing toolbox. Plan, write and tinker with your story.
54Ktokens
9.
Future Fiction Academy (Raptor Write)
new
52Ktokens
10.
idealo
new
27Ktokens
11.
Voxta
Your speech-driven AI companion backend
21Ktokens
12.
APIpie.ai
new
19Ktokens
13.
Layla
Private, personal AI
16Ktokens
14.
Portkey AI
Control panel for AI apps
15Ktokens
15.
SocialAI
new
8Ktokens
16.
Triplo AI
new
7Ktokens
17.
ioPartners
new
7Ktokens
18.
Cline
Autonomous coding agent right in your IDE
5Ktokens
19.
agent37.ai
new
4Ktokens
20.
MyApp
new
3Ktokens
When an error occurs in an upstream provider, we can recover by routing to another healthy provider, if your request filters allow it.
Learn more about our load balancing and customization options.
Sample code and API for Toppy M 7B
OpenRouter normalizes requests and responses across providers for you.
OpenRouter provides an OpenAI-compatible completion API to 300+ models & providers that you can call directly, or using the OpenAI SDK. Additionally, some third-party SDKs are available.
In the examples below, the OpenRouter-specific headers are optional. Setting them allows your app to appear on the OpenRouter leaderboards.
from openai import OpenAI
client = OpenAI(
base_url="https://openrouter.ai/api/v1",
api_key="<OPENROUTER_API_KEY>",
)
completion = client.chat.completions.create(
extra_headers={
"HTTP-Referer": "<YOUR_SITE_URL>", # Optional. Site URL for rankings on openrouter.ai.
"X-Title": "<YOUR_SITE_NAME>", # Optional. Site title for rankings on openrouter.ai.
},
extra_body={},
model="undi95/toppy-m-7b",
messages=[
{
"role": "user",
"content": "What is the meaning of life?"
}
]
)
print(completion.choices[0].message.content)
Using third-party SDKs
For information about using third-party SDKs and frameworks with OpenRouter, please see our frameworks documentation.
See the Request docs for all possible fields, and Parameters for explanations of specific sampling parameters.