Halloween DealsAmazon USHalloween week deals: useful picks before month-endAmazon US: current deals, useful picks and tech finds.Check DealsClean PCRecommendedOne scan can reveal what keeps slowing WindowsLook for cleanup and repair opportunities.Run ScanHalloween DealsAmazon USOctober picks are moving - compare before checkoutAmazon US: current deals, useful picks and tech finds.See Picks×
Skip to content
World desk3 min

4 Befehle, mit denen Sie prüfen, ob Ihr Claude-Code-Gateway wirklich läuft

Ein Status-Endpunkt reicht nicht. Vier Checks zeigen Schritt für Schritt, ob Ihr Gateway Claude Code wirklich bedienen kann – mit LiteLLM-Beispielen.
Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Ein grüner Status-Endpunkt heißt nur, dass ein Prozess antwortet. Ob Claude Code über Ihr Gateway tatsächlich eine Modellantwort bekommt, zeigt erst eine authentifizierte Anfrage an ein freigegebenes Modell. Deshalb lohnt sich eine Prüfreihenfolge in vier Stufen: Liveness, Readiness, Modellliste und eine echte Messages-Anfrage.

Die Beispiele unten verwenden LiteLLM, weil Anthropic es in der Gateway-Dokumentation als Beispiel nennt. Pfade, Keys und Modellnamen sind LiteLLM-Beispiele und keine universellen Claude-Code-Befehle. Bei einem anderen Gateway müssen Sie die Pfade in dessen Dokumentation nachschlagen.

As an Amazon Associate I earn from qualifying purchases.

Was jede Stufe belegt

Stufe LiteLLM-Beispielpfad Geprüfte Ebene Ruft ein Modell auf?
1. Liveness /health/liveliness Prozess antwortet Nein
2. Readiness /health/readiness Dienst gilt als einsatzbereit (je nach Version und Setup) Nicht als Zweck der Prüfung
3. Modellliste /v1/models Route und Zugangsdaten, konfigurierte Modelle sichtbar Nein
4. Messages-Anfrage /v1/messages Gesamter Pfad inklusive Key, Modell und Provider Ja

Vorbereitung: Zugangsdaten sauber setzen

Schreiben Sie keine echten Schlüssel in Befehle, Skripte oder Tickets. Legen Sie sie in der Shell als Umgebungsvariablen ab:

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
export GATEWAY_URL="https://llm.example.com"
export GATEWAY_KEY="<Ihr virtueller Key>"
export GATEWAY_MODEL="<Modellname aus der Gateway-Konfiguration>"

Nutzen Sie für den Entwicklertest einen virtuellen Key, keinen Master-Key. Laut LiteLLMs Claude-Code-Anleitung wird der virtuelle Key als Bearer-Authentifizierung gesendet, und das konfigurierte Modell muss für diesen Key freigegeben sein. Ein Fehler bei Stufe 3 oder 4 kann also an fehlenden Rechten liegen, nicht am Gateway.

#1 Best Overall
Sale
UGREEN USB C to Ethernet Adapter, Plug and Play 1Gbps Aluminum Adapter | (Thunderbolt 4/3 Compatible) to RJ45 Network Dongle, Compatible for MacBook Pro/Air, iPhone 17 Pro/Max, iPad, XPS
  • USB-C Meets 1000Mbps Ethernet in Seconds:UGREEN usb c to ethernet adapter supports fast speeds up to 1000Mbps and is backward compatible with 100/10Mbps network. Perfect for work, gaming, streaming, or downloading with a stable, reliable wired connection
  • Extend a Ethernet Port for Your Device:This ethernet to usb c adds a Gigabit RJ45 port to your device. It’s the perfect solution for new laptops without built-in Ethernet, devices with damaged LAN ports, or when WiFi is unavailable or unstable
  • Plug and Play: This Ethernet adapter is driver-free for Windows 11/10/8.1/8, macOS, Chrome OS, and Android. Drivers are required for Windows XP/7/Vista and Linux, and can be easily installed using our instructions. LED indicator shows status at a glance
  • Small Adapter, Big Attention to Detail: The usb c to ethernet features a durable aluminum alloy case for faster heat dissipation than plastic. Its reinforced cable tail and wear-resistant port ensure long-lasting durability. Compact size and easy to carry
  • Widely Compatible: The usbc to ethernet adapter is compatible with most laptops, tablets, smartphones, Nintendo Switch, and Steam Deck with USB-C or Thunderbolt 4/3 port, like MacBook Pro/Air, XPS, iPhone 17/16/15 Pro/Pro Max, Mac Mini, Chromebook, iPad

Check 1: Liveness

curl -s "$GATEWAY_URL/health/liveliness"

LiteLLM konfiguriert /health/liveliness in seinem Deployment-Beispiel als Kubernetes-Liveness-Probe (beachten Sie die Schreibweise „liveliness“). Die Antwort sagt nur, dass der Dienst auf die Probe reagiert. Über Upstream-Modelle, Datenbank oder Provider-Zugang sagt sie nichts.

Check 2: Readiness

curl -s "$GATEWAY_URL/health/readiness"

Der Pfad /health/readiness ist in LiteLLMs Deployment-Dokumentation als Readiness-Probe beschrieben und taucht dort auch in der Verifikation nach dem Deployment auf. Wie die Antwort aussieht und was sie genau einschließt, hängt von Version und Setup ab. Lesen Sie sie deshalb gegen die Dokumentation Ihrer Version und verallgemeinern Sie nicht auf andere Gateways.

Rank #2
Sale
Anker USB C to Ethernet Adapter, Portable 1 Gbps Network Hub | Aluminum, Compact, 10/100/1000Mbps, for MacBook Pro, iPad Pro, ChromeBook, XPS, Galaxy and More
  • The Anker Advantage: Join the 65 million+ powered by our leading technology.
  • Instant Internet: Connect to the internet instantly from virtually any USB-C 3.0 device, and enjoy stable connection speeds of up to 1 Gbps.
  • Lightweight and Compact: The space-saving and portable design measures just over half an inch thick and weighs about the same as a AA battery.
  • Premium Build: Features a sleek aluminum exterior and braided-nylon cable to complement the design of high-end devices.
  • What You Get: PowerExpand USB-C to Gigabit Ethernet Adapter, welcome guide, 18-month worry-free warranty, and friendly customer service.

Check 3: Modellliste mit Authentifizierung

curl -s "$GATEWAY_URL/v1/models" 
  -H "Authorization: Bearer $GATEWAY_KEY"

LiteLLMs Migrationsanleitung zeigt diesen Aufruf mit dem Master-Key auf localhost:4000. Für Ihren Alltagstest ersetzen Sie ihn durch einen virtuellen Key. Eine erfolgreiche Antwort zeigt, dass Route und Credential funktionieren und Modelle gelistet werden. Ob ein bestimmter Modellaufruf klappt, beweist sie nicht: Provider-Zugangsdaten, Limits oder ein fehlerhaftes Upstream bleiben ungeprüft. Prüfen Sie außerdem, ob der Wert aus GATEWAY_MODEL in der Liste auftaucht.

What’s actually slowing this PC down?

Pick the symptom - the matching free tool is one click away.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Check 4: Echte Messages-Anfrage

Claude Code spricht die Anthropic-Messages-API. Bei LiteLLM ist laut Claude-Code-Setup die Route /v1/messages dokumentiert. Eine minimale Anfrage:

Rank #3
BENFEI USB-C to Ethernet Adapter, USB Type-C (Thunderbolt 3/4) to RJ45 Gigabit Ethernet LAN Network Adapter Compatible with iPhone 15 Pro/Max, MacBook Pro/Air 2023, iPad Pro,iMac, S23, XPS 17 and More
  • 【Reliable & Endurance Connectivity】Designed specifically for plug-and-play connection between USB-C devices and wired network, provides gigabit ethernet connectivity even when wireless connectivity is Inconsistent or over extended.
  • 【Surfing at Full Speed】Obtain stable connection speeds up to 1Gbps; downward compatible with 100Mbps/10Mbps networks. Our Type-C to LAN Gigabit Ethernet (RJ45) Network Adapter supports large downloads at maximum speeds without interruption.✅ To reach 1Gbps, make sure to use CAT6 & up Ethernet cables.
  • 【Compact & Friendly Design】Compact and lightweight, with a user-friendly non-slip design for easier plug and unplug. Braided nylon cable for extra durability. Premium aluminum casing for better heat insulation. Fits snugly with the USB-C ports on your devices, better signal transfer protection.
  • 【Wide Compatibility】Compatible with iPhone 15 Series, MacBook Pro 16''/15” (2023/2022/2021/2020/2019/2018/2017), MacBook (2019/2018/2017), MacBook Air 13” (2022/2018), iPad Pro (2022/2020/2018); XPS 13/15/17; Surface Book 2; Google Pixelbook, Chromebook, Pixel, Pixel 2; Asus ZenBook. Compatible with Samsung S20/S10/S9/S8/S8+, Note 8/9, Galaxy Tablet Tab A 10.5, and many other USB-C laptops, tablets, and smartphones. (NOT compatible with Nintendo Switch.)
  • 【18 MONTH WARRANTY】: Exclusive BENFEI Unconditional 18-month Warranty ensures long-time satisfaction of your purchase; Friendly and easy-to-reach customer service to solve your problems timely
curl -s "$GATEWAY_URL/v1/messages" 
  -H "Authorization: Bearer $GATEWAY_KEY" 
  -H "content-type: application/json" 
  -H "anthropic-version: 2023-06-01" 
  -d '{
    "model": "'"$GATEWAY_MODEL"'",
    "max_tokens": 32,
    "messages": [{"role": "user", "content": "Antworte mit: ok"}]
  }'

Der anthropic-version-Header gehört zum Anthropic-Messages-Format; ob Ihr Gateway ihn verlangt oder ignoriert, hängt von der Konfiguration ab. Eine Modellantwort mit Textinhalt ist der stärkste Beleg, weil sie den Weg über Load Balancer, Proxy, Datenbank und Provider-Zugangsdaten abdeckt. Genau das nennt LiteLLMs Deployment-Leitfaden als Zweck einer erfolgreichen Playground-Anfrage.

Verwechseln Sie diese Route nicht mit /v1/chat/completions. LiteLLM zeigt diesen Pfad ebenfalls authentifiziert in der Migrationsanleitung, es ist aber ein allgemeiner Chat-Completions-Endpunkt und nicht der Weg, den Claude Code nutzt.

Rank #4
Sale
Anker USB-C Hub with Ethernet, 6-in-1 Multiport USB C to Ethernet Adapter
  • The Anker Advantage: Join the 65 million+ powered by our leading technology.
  • Massive Expansion: Equipped with a Power Delivery input port, an HDMI port, an Ethernet port, a USB-C data port, and 2 USB data ports.
  • Powerful Pass-Through Charging: Connect a 65W wall charger to the Power Delivery input port to provide high-speed pass-through charging to your laptop.
  • Media Display: The HDMI port allows you to connect to an external display in resolutions up to 4K@30Hz.
  • What You Get: PowerExpand 6-in-1 USB-C PD Ethernet Hub, welcome guide, our worry-free 18-month warranty, and great customer service.

Alternative: Claude Code selbst als Test

Setzen Sie die dokumentierten Variablen und stellen Sie eine harmlose Frage:

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
export ANTHROPIC_BASE_URL="$GATEWAY_URL"
export ANTHROPIC_AUTH_TOKEN="$GATEWAY_KEY"
export ANTHROPIC_MODEL="$GATEWAY_MODEL"
claude

Laut LiteLLM-Anleitung ist ANTHROPIC_BASE_URL die Gateway-Wurzel (Beispiel http://localhost:4000), ANTHROPIC_AUTH_TOKEN der virtuelle Key und ANTHROPIC_MODEL ein in der LiteLLM-Konfiguration definierter Modellname. Claude Code hängt /v1/messages selbst an, tragen Sie diesen Pfad also nicht in die Basis-URL ein.

Best Value
Amazon Basics Aluminum USB-C to RJ45 Gigabit Ethernet Adapter, Portable, Fast Network, Grey, 2.07 x 0.81 x 0.6 inches
  • Adapter for converting a USB 3.1 Type-C port to a RJ45 Gigabit Ethernet port
  • Integrated Ethernet port supports 10M/100M/1000M bandwidth; offers instant Internet connection to the host
  • USB-C input allows for reversible plugging; offers complete compatibility with current computers and devices; compatible with Nintendo Switch
  • Ready to use, right out of the box; no external power adapter needed
  • Slim, compact size and lightweight aluminum housing for easy portability
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

Fehler richtig einordnen

  • Check 1 scheitert: Prozess, Container, Ingress oder URL prüfen. Weiter oben in der Kette ist nichts zu testen.
  • Check 1 klappt, Check 2 nicht: Der Dienst läuft, gilt aber nicht als bereit; Logs und Abhängigkeiten wie die Datenbank prüfen (versionsabhängig).
  • Check 3 scheitert: Meist Key, Header oder Berechtigung. Gegenprobe mit einem Key, der für das Modell freigegeben ist.
  • Check 3 klappt, Check 4 scheitert: Modellname nicht freigegeben, Provider-Zugangsdaten ungültig oder Upstream gestört. Die Fehlermeldung im Antwortbody und die Gateway-Logs sind hier die wichtigsten Hinweise.
  • Alle vier klappen, Claude Code nicht: Umgebungsvariablen in der laufenden Shell kontrollieren und ob ANTHROPIC_MODEL exakt dem getesteten Namen entspricht.

Hinweis zur Gateway-Wahl

Anthropics Gateway-Dokumentation beschreibt Gateways als Ort für zentrale Authentifizierung, Nutzungserfassung, Kostenkontrollen, Audit-Logging und Modell-Routing, und zeigt neben dem einheitlichen Anthropic-Endpunkt auch providerspezifische Pass-through-Varianten. Zu LiteLLM steht dort: „Anthropic doesn’t endorse, maintain, or audit LiteLLM’s security or functionality.“ Das ist ein Herstellerhinweis, kein unabhängiges Sicherheitsaudit; die Verantwortung für Betrieb und Absicherung liegt bei Ihnen.

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

Leave a Reply

Your email address will not be published. Required fields are marked *

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

More from the Wire

  1. World desk4 min
    How to Spot an AI Voice Scam Before Sending MoneyDon’t rely on how a caller sounds. Pause, call back through a known number, and verify the emergency with another trusted person before sending money.
  2. Mountain View desk4 min
    Google’s SynthID Detector: How to Check AI-Generated Images, Video and AudioGoogle’s SynthID Detector looks for an embedded watermark in supported images, video and audio. Here is what its results do—and do not—show.
  3. Redmond desk20 min
    How to create a link to File or Folder in Windows 11Windows 11 gives you several ways to point to a file or folder without moving or duplicating it. You can create a desktop shortcut,…
Recommended PC Tool
Recommended PC Tool
PC Slower Than It Used to Be?Free scan - under a minute
Crashes, No Sound, or Screen Glitches?Free driver scan

Two free Windows tools

One Free Minute Could Fix That PC

Before you go - each of these free tools takes about a minute and tackles what quietly slows a Windows PC down.

Special offer. View Outbyte info, uninstall instructions, EULA, and Privacy Policy.