Skip to content
All documentation

Start here

Your first request

Create a key, select a live model, and connect your application.

OPENAI BASE URLhttps://www.modelmesh.in/api/v1

1. Create an account and key

Sign in, open Dashboard → API keys, and create a key with chat access. Copy it when shown; the full key is not available again. Store it in a server environment variable.

2. Choose a published model

Use an exact ID from the live catalog. Names, rates, and capabilities come from configured providers. A name containing ‘free’ does not guarantee zero cost; check both published rates.

3. Send a small request

Replace YOUR_MODELMESH_KEY in the example with your key. Start with a short prompt and output limit, then check Usage and Request logs. Successful paid requests consume your allowance or account funds.

Request example

POSThttps://www.modelmesh.in/api/v1/chat/completions

Replace the key placeholder before running this example. This page does not send requests. Paid requests consume your allowance or funds.

$env:MODELMESH_API_KEY = 'YOUR_MODELMESH_KEY'

Invoke-RestMethod -Method Post -Uri 'https://www.modelmesh.in/api/v1/chat/completions' `
  -Headers @{Authorization="Bearer $env:MODELMESH_API_KEY"} `
  -ContentType 'application/json' `
  -Body '{
  "model": "YOUR_MODEL_ID",
  "messages": [
    {
      "role": "user",
      "content": "Say hello in one sentence."
    }
  ],
  "max_tokens": 64
}'