TensaHub › OpenRouter

Morph: Morph V3 Large (batch)

API des Modells morph/morph-v3-large:batch bei OpenRouter, $0.45 / $0.95 pro Million Tokens, Kontext 262.144 Tokens. Beispiele in curl, Python und JavaScript, Live-Test.

Im Katalog testen und bewerten

Morph's high-accuracy apply model for complex code edits. ~4,500 tokens/sec with 98% accuracy for precise code transformations. The model requires the prompt to be in the following format: <instruction>{instruction}</instruction> <code>{initial_code}</code>...

Typ
Modell
Anbieter
OpenRouter
Modell-ID
morph/morph-v3-large:batch
Preis
Kostenpflichtig
Preis Eingabe / Ausgabe
$0.45 / $0.95 pro Million Tokens
Zugang ohne Schlüssel
Nein
Schlüsselvariable
OPENROUTER_API_KEY
Basis-URL (OpenAI-kompatibel)
https://openrouter.ai/api/v1
Kontext
262.144 Tokens
Eingaben
Text
Funktionen
JSON-Ausgabe
Entwicklerbewertung
Noch nicht bewertet
Dokumentation
https://openrouter.ai/morph/morph-v3-large:batch

Codebeispiele

cURL

curl https://openrouter.ai/api/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer $OPENROUTER_API_KEY" \
  -d '{"model":"morph/morph-v3-large:batch","messages":[{"role":"user","content":"Hallo, stell dich in einem Satz vor."}]}'

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="morph/morph-v3-large:batch",
    messages=[{"role": "user", "content": "Hallo, stell dich in einem Satz vor."}],
)
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: 'morph/morph-v3-large:batch',
  messages: [{ role: 'user', content: 'Hallo, stell dich in einem Satz vor.' }],
})
console.log(r.choices[0].message.content)

Integrationscode erzeugen →

Beliebte Suchen

Häufige Fragen

Ist die API von Morph: Morph V3 Large (batch) kostenlos?

Nein: Morph: Morph V3 Large (batch) ist eine kostenpflichtige API ($0.45 / $0.95 pro Million Tokens).

Wie rufe ich Morph: Morph V3 Large (batch) aus meinem Code auf?

Morph: Morph V3 Large (batch) bietet eine OpenAI-kompatible API unter https://openrouter.ai/api/v1: Verwenden Sie ein beliebiges OpenAI-SDK (Python, JavaScript …) mit dieser Basis-URL. Modellkennung: morph/morph-v3-large:batch. Fertiger Code (Streaming, JSON, Wiederholungen) steht im Werkzeugkasten für Entwickler bereit.

Wie groß ist das Kontextfenster von Morph: Morph V3 Large (batch)?

Morph: Morph V3 Large (batch) verarbeitet bis zu 262.144 Tokens Kontext (Nachricht und Verlauf).

Welche Alternativen gibt es zu Morph: Morph V3 Large (batch)?

Ähnliche APIs im Katalog: Morph: Morph V3 Large, Morph: Morph V3 Fast, Morph: Morph V3 Fast (batch).

Alternativen