# Some citations are missing from the llm response content

**URL:** <https://community.perplexity.ai/t/some-citations-are-missing-from-the-llm-response-content/514>\
**Category:** General\
**Created:** [June 10, 2025, 10:59am UTC](https://community.perplexity.ai/t/some-citations-are-missing-from-the-llm-response-content/514 "2025-06-10T10:59:34Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![vandesa003](https://sea1.discourse-cdn.com/flex001/user_avatar/community.perplexity.ai/vandesa003/32/209_2.png) [@vandesa003](https://community.perplexity.ai/u/vandesa003)\
**Post date:** [June 10, 2025, 10:59am UTC](https://community.perplexity.ai/t/some-citations-are-missing-from-the-llm-response-content/514/1 "2025-06-10T10:59:34Z")

</div>

the full content i got from the api as below. i got 5 citations, but the model output only mentions [2][3][5]. i wonder if it’s a bug or i should just consider [1][4] are citations for the entire content rather than a specific sentence?

```auto
{
    "id": "5d73f356-f79a-4d09-ba41-f269e408dc27",
    "model": "sonar",
    "created": 1749008320,
    "usage":
    {
        "prompt_tokens": 6,
        "completion_tokens": 91,
        "total_tokens": 97,
        "search_context_size": "low"
    },
    "citations":
    [
        "https://www.youtube.com/shorts/jvjb114Czrg",
        "https://www.shopify.com/ph/tools/business-name-generator/sportswear",
        "https://ecomposer.io/blogs/business/sportswear-brand-name-ideas",
        "https://www.sportsdirect.com/brands",
        "https://en.wikipedia.org/wiki/Category:Sportswear_brands"
    ],
    "search_results":
    [
        {
            "title": "Guess their Answers: Name a Sportswear Brand ... - YouTube",
            "url": "https://www.youtube.com/shorts/jvjb114Czrg",
            "date": "2022-11-14"
        },
        {
            "title": "Sportswear Business Name Ideas Generator (2025) - Shopify",
            "url": "https://www.shopify.com/ph/tools/business-name-generator/sportswear",
            "date": null
        },
        {
            "title": "120+ Sportswear Brand Name Ideas For Inspiration - EComposer",
            "url": "https://ecomposer.io/blogs/business/sportswear-brand-name-ideas",
            "date": null
        },
        {
            "title": "Brands AZ - Sports Direct",
            "url": "https://www.sportsdirect.com/brands",
            "date": null
        },
        {
            "title": "Category:Sportswear brands - Wikipedia",
            "url": "https://en.wikipedia.org/wiki/Category:Sportswear_brands",
            "date": null
        }
    ],
    "object": "chat.completion",
    "choices":
    [
        {
            "index": 0,
            "finish_reason": "stop",
            "message":
            {
                "role": "assistant",
                "content": "Here are a few well-known sportswear brands:nn- **Nike** n- **Adidas** n- **Under Armour** n- **Champion** n- **Lululemon Athletica** nnAdditionally, there are lesser-known brands like **Kappa** and **Karhu**. If you're interested in starting your own brand, names like **FlexTech Athletics** or **Vigor Valor** could be considered[2][3][5]."
            },
            "delta":
            {
                "role": "assistant",
                "content": ""
            }
        }
    ]
}

```

---

<div class="post-metadata">

**Author:** ![vikvang](https://avatars.discourse-cdn.com/v4/letter/v/67e7ee/32.png) [@vikvang](https://community.perplexity.ai/u/vikvang)\
**Post date:** [June 10, 2025, 10:01pm UTC](https://community.perplexity.ai/t/some-citations-are-missing-from-the-llm-response-content/514/2 "2025-06-10T22:01:16Z")

</div>

Thanks for the flag! Looking into this right now. Do you mind sharing the exact query / call that you made?

---

<div class="post-metadata">

**Author:** ![vandesa003](https://sea1.discourse-cdn.com/flex001/user_avatar/community.perplexity.ai/vandesa003/32/209_2.png) [@vandesa003](https://community.perplexity.ai/u/vandesa003)\
**Post date:** [June 11, 2025, 1:39am UTC](https://community.perplexity.ai/t/some-citations-are-missing-from-the-llm-response-content/514/3 "2025-06-11T01:39:33Z")

</div>

hi @vikvang , i cannot provide the exact query since i didn’t log them. but i will provide as much as i can.  
endpoint: /chat/completions  
model: sonar  
web\_search\_options: {search\_context\_size: low, user\_location: IN}

obviously, the bad cases happen at a chance, and from what i can tell, regardless of country.

---

<div class="post-metadata">

**Author:** ![vikvang](https://avatars.discourse-cdn.com/v4/letter/v/67e7ee/32.png) [@vikvang](https://community.perplexity.ai/u/vikvang)\
**Post date:** [June 11, 2025, 5:20am UTC](https://community.perplexity.ai/t/some-citations-are-missing-from-the-llm-response-content/514/4 "2025-06-11T05:20:04Z")

</div>

Hmm I would try once more! Try to add the latitude and longitude filters along with the country code. In the meantime, I’ll make sure the team looks into this!

---

<div class="post-metadata">

**Author:** ![vandesa003](https://sea1.discourse-cdn.com/flex001/user_avatar/community.perplexity.ai/vandesa003/32/209_2.png) [@vandesa003](https://community.perplexity.ai/u/vandesa003)\
**Post date:** [June 11, 2025, 7:08am UTC](https://community.perplexity.ai/t/some-citations-are-missing-from-the-llm-response-content/514/5 "2025-06-11T07:08:01Z")

</div>

thanks for your help! while in my use case, i can only provide country code, no lat and lon available(and those 2 are optional args).

---

<div class="post-metadata">

**Author:** ![vikvang](https://avatars.discourse-cdn.com/v4/letter/v/67e7ee/32.png) [@vikvang](https://community.perplexity.ai/u/vikvang)\
**Post date:** [June 11, 2025, 9:02pm UTC](https://community.perplexity.ai/t/some-citations-are-missing-from-the-llm-response-content/514/6 "2025-06-11T21:02:11Z")

</div>

Thanks! Will flag this as a bug and fix.
