TensaHub › OpenRouter

Baidu: ERNIE-5.5-Flash-Preview (free)

API des Modells baidu/ernie-5.5-flash-preview:free bei OpenRouter, kostenlos, Kontext 1.024.000 Tokens. Beispiele in curl, Python und JavaScript, Live-Test.

Im Katalog testen und bewerten

ERNIE 5.5 Flash Preview is the latest foundation model in the ERNIE family, with comprehensive improvements in coding, agentic capabilities, knowledge work, and deep research. It has 280 billion total...

Typ
Modell
Anbieter
OpenRouter
Modell-ID
baidu/ernie-5.5-flash-preview:free
Preis
Kostenlos
Zugang ohne Schlüssel
Nein
Schlüsselvariable
OPENROUTER_API_KEY
Basis-URL (OpenAI-kompatibel)
https://openrouter.ai/api/v1
Kontext
1.024.000 Tokens
Eingaben
Text
Funktionen
Reasoning, JSON-Ausgabe, Tool-Aufrufe
Entwicklerbewertung
Noch nicht bewertet
Dokumentation
https://openrouter.ai/baidu/ernie-5.5-flash-preview:free
Letzte Prüfung
2026-12-05T01:26:39+00:00

Codebeispiele

cURL

curl https://openrouter.ai/api/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer $OPENROUTER_API_KEY" \
  -d '{"model":"baidu/ernie-5.5-flash-preview:free","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="baidu/ernie-5.5-flash-preview:free",
    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: 'baidu/ernie-5.5-flash-preview:free',
  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 Baidu: ERNIE-5.5-Flash-Preview (free) kostenlos?

Ja: Baidu: ERNIE-5.5-Flash-Preview (free) ist mit einem API-Schlüssel kostenlos nutzbar, im Rahmen der Limits des Anbieters.

Wie rufe ich Baidu: ERNIE-5.5-Flash-Preview (free) aus meinem Code auf?

Baidu: ERNIE-5.5-Flash-Preview (free) bietet eine OpenAI-kompatible API unter https://openrouter.ai/api/v1: Verwenden Sie ein beliebiges OpenAI-SDK (Python, JavaScript …) mit dieser Basis-URL. Modellkennung: baidu/ernie-5.5-flash-preview:free. Fertiger Code (Streaming, JSON, Wiederholungen) steht im Werkzeugkasten für Entwickler bereit.

Wie groß ist das Kontextfenster von Baidu: ERNIE-5.5-Flash-Preview (free)?

Baidu: ERNIE-5.5-Flash-Preview (free) verarbeitet bis zu 1.024.000 Tokens Kontext (Nachricht und Verlauf).

Welche Alternativen gibt es zu Baidu: ERNIE-5.5-Flash-Preview (free)?

Ähnliche APIs im Katalog: Baidu: ERNIE-5.5-Flash-Preview (free), Baidu: ERNIE-Light-DT-1.0.

Alternativen